package io.renren.auth.service;


import io.renren.auth.remote.RemoteUserService;
import io.renren.common.form.SysLoginForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 登录校验方法
 * 
 * @author ruoyi
 */
@Component
public class SysLoginService
{


    @Autowired
    private RemoteUserService remoteUserService;

    /**
     * 登录
     */
    public Map<String, Object> login(SysLoginForm form)
    {
        return remoteUserService.login(form);
    }




}